The geom
style supports the figure
and table
environments of standard , and, as mentioned above, if you use
the \caption
command you don't have to worry about fragile
macros inside its argument. However, I recommend that you use
instead the new Figure
and Table
environments, which
provide some bells and whistles.
These environments take three arguments: a cross-reference label, a title and a legend (or explanatory caption). The command
\begin{Figure}{torus}{The square torus} {A torus can be obtained, topologically, by gluing together parallel sides of a square.} $$ \begin{picture}(1,1) ... % lots of \put commands \end{picture} $$ \end{Figure}prints
and in addition it creates a cross-reference label torus
and an
entry in the table of contents with the text ``The square torus''.
As you can see,
the figure number and the title appear in
boldface, the legend in a lighter face. In proofing mode
(Proofing Aids), the file
name also appears under the figure, in tiny letters. If you don't
want a legend, just write {}
after the first two arguments.
(In other words, the legend is not an optional argument—it is
simply an argument that sometimes happens to be empty.)
There is an optional argument to the \Figure
environment, consisting
of a subset of the letters htbp
and indicating a location
where the figure may be placed [#!Lamport!#, 176]; it should come
before all other arguments.
All of this applies to the Table
environment as well.